package pers.qianyu.module.core.domain.image.dataobj;

import java.io.Serializable;
import java.util.Objects;

/**
 * @author mizzle rain
 * @date 2021-04-30 20:56
 */
public class LabelCountDO implements Serializable {
    private static final long serialVersionUID = -2668558091785052247L;
    private Long labelId;
    private Long labelCount;
    private String labelName;

    public Long getLabelId() {
        return labelId;
    }

    public void setLabelId(Long labelId) {
        this.labelId = labelId;
    }

    public Long getLabelCount() {
        return labelCount;
    }

    public void setLabelCount(Long labelCount) {
        this.labelCount = labelCount;
    }

    public String getLabelName() {
        return labelName;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        LabelCountDO that = (LabelCountDO) o;
        return Objects.equals(labelId, that.labelId) && Objects.equals(labelCount, that.labelCount) && Objects.equals(labelName, that.labelName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(labelId, labelCount, labelName);
    }
}
